package com.silences.pojo;

public class Buyer {
    private int id;
    private String buyername;
    private String password;
    private String buyernum;
    private String buyerplace;

    public String getBuyernum() {
        return buyernum;
    }

    public void setBuyernum(String buyernum) {
        this.buyernum = buyernum;
    }

    public String getBuyerplace() {
        return buyerplace;
    }

    public void setBuyerplace(String buyerplace) {
        this.buyerplace = buyerplace;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBuyername() {
        return buyername;
    }

    public void setBuyername(String buyername) {
        this.buyername = buyername;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Buyer{" +
                "id=" + id +
                ", buyername='" + buyername + '\'' +
                ", password='" + password + '\'' +
                ", buyernum='" + buyernum + '\'' +
                ", buyerplace='" + buyerplace + '\'' +
                '}';
    }

    //无参
    public Buyer() {
    }

    //有参

    public Buyer(int id, String buyername, String password, String buyernum, String buyerplace) {
        this.id = id;
        this.buyername = buyername;
        this.password = password;
        this.buyernum = buyernum;
        this.buyerplace = buyerplace;
    }
}
